#include <emmintrin.h>
#include <iostream>

int main() {
    __m128i data =
        _mm_set_epi32(0x00000002, 0x00000001, 0x00000004, 0x00000003);  // 设置一个 128 位整数向量
    __m128i result = _mm_slli_si128(data, 4);                           // 将数据左移 4 字节

    int* ptr1 = (int*)&result;
    int* ptr2 = (int*)&data;
    std::cout << std::hex << ptr2[0] << " " << ptr2[1] << " " << ptr2[2] << " " << ptr2[3]
              << std::endl;
    std::cout << std::hex << ptr1[0] << " " << ptr1[1] << " " << ptr1[2] << " " << ptr1[3]
              << std::endl;
    return 0;
}